package com.example.asus.yuejian_10.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.asus.yuejian_10.R;


/**
 * Created by HP on 2017/3/6.
 */

public class OrderViewHolder extends RecyclerView.ViewHolder {
    public ImageView order_pic;
    public TextView order_name;
    public TextView order_time;
    public TextView order_price;




    public View itemView;  //添加监听器

    public OrderViewHolder(View itemView) {
        super(itemView);

        this.itemView = itemView;

        order_pic = (ImageView) itemView.findViewById(R.id.order_pic);
        order_name= (TextView) itemView.findViewById(R.id.order_name);
        order_time= (TextView) itemView.findViewById(R.id.order_time);
        order_price= (TextView) itemView.findViewById(R.id.order_price);



    }
}
